package com.example.stray_animal_management_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @description: user实体
 * @author: panpan
 * @time: 2025/10/26
 */
@Data
@TableName("user")
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private String email;
    private String phone;
    private String avatar;
    private Integer roleId; // 1用户 2志愿者 3管理员
    private Integer status;
    private Integer adoptionQuota;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}